﻿using System;

namespace Desktop_Facebook
{
	public class CustomDate : IComparable
	{
		public DateTime Date { get; set; }

		public override string ToString()
		{
			return Date.ToShortDateString();
		}

		public int CompareTo(object obj)
		{
			CustomDate other = obj as CustomDate;
			return Date.CompareTo(other.Date);
		}
	}
}
